package com.cloud.mapper;

import com.cloud.model.entity.Payment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cloud.model.bo.PaymentBO;
import com.cloud.model.query.PaymentPageQuery;
import org.apache.ibatis.annotations.Mapper;

/**
 * 支付表 Mapper 接口
 *
 * @author Sailer Wen
 * @since 2024-07-24
 */

@Mapper
public interface PaymentMapper extends BaseMapper<Payment> {

    /**
     * 获取用户分页列表
     *
     * @param page
     * @param queryParams 查询参数
     * @return
     */
    Page<PaymentBO> listPagedPayments(Page<PaymentBO> page, PaymentPageQuery queryParams);

}
